
import absdragsvc from "./absdragsvc";
import { GlobalVar } from "../../common/globalvar";
import { LGXEnums } from "../../common/sysenum";
class EllipseDragDropSvc extends absdragsvc.AbsDragSvc{
    assignProp(worldPos,mapscale){
        var position = this.graph.getPos();
        position.x = worldPos.x;
        position.y = worldPos.y;
        position.xRadius = 50;
        position.yRadius = 30;

        this.graph._fillDef.fillStyle = LGXEnums.LGXFillStyle.SOLID;
        this.graph._fillDef.fillColor.clone(GlobalVar.visoDefaultFillColor);
    }
}
export default{EllipseDragDropSvc}